.container {
  .add {
    margin: 12px 20px;
  }
  .search-box {
    width: 100%;
    padding: 18px 14px 0;
    box-sizing: border-box;
    border-bottom: 1px solid #f5f7fa;
    .search-top-box {
      display: flex;
      width: 100%;
      justify-content: space-between;
      overflow: hidden;
      height: 60px;
      max-height: 200px;
      .search-top-left-box {
        width: 90%;
        .form-width {
          width: 250px;
        }
      }
      .search-top-right-box {
        height: 40px;
        display: flex;
        align-items: center;
        white-space: nowrap;
        p {
          -webkit-touch-callout: none; /* iOS Safari */
          -webkit-user-select: none; /* Chrome/Safari/Opera */
          -khtml-user-select: none; /* Konqueror */
          -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none; /* Non-prefixed version, currentlynot supported by any browser */
          cursor: pointer;
          white-space: nowrap;
          font-size: 14px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #3b75ff;
          margin-right: 30px;
        }
      }
    }
  }
}
.scroll-view {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 500px;
  .demo-form-inline {
    width: 100%;
    .el-input {
      width: 220px;
    }
    .textarea {
      width: 220px;
    }
    .add-node {
      width: 103px;
      height: 36px;
      background: rgb(245, 247, 250);
      border-radius: 4px;
      border: 1px solid #dde2ee;
      font-weight: 400;
      font-size: 13px;
      color: #5c5f66;
      padding: 0;
      text-align: center;
      &:hover {
        opacity: 0.6;
      }
    }
    .node-box {
      width: 100%;
      height: 293px;
      border-radius: 8px;
      border: 1px solid #dde2ee;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 20px 15px;
      box-sizing: border-box;
      width: 100%;
      height: 300px;
      border-radius: 8px;
      overflow-y: auto;
      overflow-x: hidden;
      border: 1px solid #dde2ee;
      ::v-deep .el-checkbox.is-bordered {
        margin: 0 10px 10px 0 !important;
      }
    }
    .template-box {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      .template-item {
        width: 260px;
        height: 228px;
        background: #fafbfc;
        border-radius: 8px;
        border: 1px solid #dde2ee;
        margin: 0 10px 10px 0;
        position: relative;
        .el-icon-error {
          position: absolute;
          top: -10px;
          right: -10px;
          font-size: 20px;
          color: #b6b6b6;
        }
        &:nth-child(3n) {
          margin-right: 0;
        }
        .scroll-view {
          width: 100%;
          height: 100%;
          padding: 11px 12px;
          box-sizing: border-box;
          overflow-y: auto;
          overflow-x: auto;
          .template-title {
            font-weight: 500;
            font-size: 14px;
            color: #5c5f66;
            margin: 0 0 10px;
            .el-icon-edit,
            .el-icon-circle-plus-outline,
            .el-icon-delete {
              font-size: 16px;
              color: #b6b6b6;
              margin-left: 5px;
            }
          }
          .node-item-box {
            width: 100%;
            .node-item-title {
              width: 100%;
              display: flex;
              align-items: center;
              justify-content: space-between;
              margin-bottom: 10px;
              .el-icon-circle-plus-outline,
              .el-icon-delete {
                font-size: 16px;
                color: #b6b6b6;
                margin-left: 5px;
              }
              .checkbox-box {
                display: flex;
                align-items: center;
                .title-text {
                  font-weight: 400;
                  font-size: 13px;
                  color: #5c5f66;
                }
              }
              .el-icon-edit {
                color: #b6b6b6;
                margin-left: 5px;
                font-size: 16px;
              }
            }
            .check-box {
              width: 100%;
              display: flex;
              align-items: center;
              flex-wrap: wrap;
              .tag {
                height: 32px;
                background: #ffffff;
                border-radius: 4px;
                border: 1px solid #dcdfe6;
                font-weight: 400;
                font-size: 12px;
                color: #5c5f66;
                margin: 0 10px 10px 0;
                // width: 100%;
                // overflow: hidden; /* 确保溢出文本会被隐藏 */
                // white-space: nowrap; /* 确保文本在一行内显示 */
                // text-overflow: ellipsis; /* 使用省略号显示文本溢出 */
                i {
                  color: #b6b6b6;
                  margin: 0 0 0 5px;
                  font-size: 16px;
                }
              }
            }
          }
        }
      }
    }
  }
}
